home *** CD-ROM | disk | FTP | other *** search
/ Twentieth Anniversary Mac…osh - QuickTime Showcase / 691-1418,Twentieth Anniversary Macintosh. QuickTime Showcase. (CD).toast / QuickTime Showcase / QuickTime Showcase.rsrc / CODE_65_OSMenu.txt < prev    next >
Text File  |  1997-05-15  |  7KB  |  124 lines

  1. # near model CODE resource
  2. # jump table entries: 64520-64536 (17 of them)
  3. 00000000  FFFF                     .invalid   <<F/7/7>>
  4. 00000002  FC08 0000                .unknown   0xFC08 0x0000 (W = 6)
  5. 00000006  0134 594F                btst       <<invalid full ext with IS == 1 and I/IS == 7>>, D0
  6. 0000000A  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  7. 0000000E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  8. 00000012  A931                     syscall    NewMenu
  9. 00000014  205F                     movea.l    A0, [A7]+
  10. 00000016  2008                     move.l     D0, A0
  11. 00000018  4E75                     rts
  12. 0000001A  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  13. 0000001E  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  14. 00000022  A933                     syscall    AppendMenu
  15. 00000024  7000                     moveq.l    D0, 0x00
  16. 00000026  4E75                     rts
  17. 00000028  554F                     subq.w     A7, 2
  18. 0000002A  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  19. 0000002E  A950                     syscall    CountMItems
  20. 00000030  301F                     move.w     D0, [A7]+
  21. 00000032  4E75                     rts
  22. 00000034  2F0A                     move.l     -[A7], A2
  23. 00000036  246F 0008                movea.l    A2, [A7 + 0x8]
  24. 0000003A  4A92                     tst.l      [A2]
  25. 0000003C  6706                     beq        +0x8 /* 00000044 */
  26. 0000003E  2F12                     move.l     -[A7], [A2]
  27. 00000040  A932                     syscall    DisposeMenu
  28. 00000042  4292                     clr.l      [A2]
  29. label00000044:
  30. 00000044  7000                     moveq.l    D0, 0x00
  31. 00000046  245F                     movea.l    A2, [A7]+
  32. 00000048  4E75                     rts
  33. 0000004A  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  34. 0000004E  4EAD BAC0                jsr        [A5 - 0x4540]
  35. 00000052  7000                     moveq.l    D0, 0x00
  36. 00000054  584F                     addq.w     A7, 4
  37. 00000056  4E75                     rts
  38. 00000058  594F                     subq.w     A7, 4
  39. 0000005A  A93B                     syscall    GetMenuBar
  40. 0000005C  205F                     movea.l    A0, [A7]+
  41. 0000005E  2008                     move.l     D0, A0
  42. 00000060  4E75                     rts
  43. 00000062  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  44. 00000066  A93C                     syscall    SetMenuBar
  45. 00000068  7000                     moveq.l    D0, 0x00
  46. 0000006A  4E75                     rts
  47. 0000006C  A937                     syscall    DrawMenuBar
  48. 0000006E  7000                     moveq.l    D0, 0x00
  49. 00000070  4E75                     rts
  50. 00000072  A934                     syscall    ClearMenuBar
  51. 00000074  7000                     moveq.l    D0, 0x00
  52. 00000076  4E75                     rts
  53. 00000078  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  54. 0000007C  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  55. 00000080  A935                     syscall    InsertMenu
  56. 00000082  7000                     moveq.l    D0, 0x00
  57. 00000084  4E75                     rts
  58. 00000086  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  59. 0000008A  206F 0008                movea.l    A0, [A7 + 0x8]
  60. 0000008E  2050                     movea.l    A0, [A0]
  61. 00000090  4868 000E                pea.l      [A0 + 0xE]
  62. 00000094  4EAD B008                jsr        [A5 - 0x4FF8]
  63. 00000098  7000                     moveq.l    D0, 0x00
  64. 0000009A  504F                     addq.w     A7, 8
  65. 0000009C  4E75                     rts
  66. 0000009E  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  67. 000000A2  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  68. 000000A6  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  69. 000000AA  A946                     syscall    GetMenuItemText/GetItem
  70. 000000AC  7000                     moveq.l    D0, 0x00
  71. 000000AE  4E75                     rts
  72. 000000B0  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  73. 000000B4  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  74. 000000B8  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  75. 000000BC  A947                     syscall    SetMenuItemText/SetItem
  76. 000000BE  7000                     moveq.l    D0, 0x00
  77. 000000C0  4E75                     rts
  78. 000000C2  302F 0008                move.w     D0, [A7 + 0x8]
  79. 000000C6  48C0                     ext.l      D0
  80. 000000C8  7201                     moveq.l    D1, 0x01
  81. 000000CA  E1A9                     lsl        D1, D0
  82. 000000CC  206F 0004                movea.l    A0, [A7 + 0x4]
  83. 000000D0  2050                     movea.l    A0, [A0]
  84. 000000D2  C2A8 000A                and.l      D1, [A0 + 0xA]
  85. 000000D6  4A81                     tst.l      D1
  86. 000000D8  56C1                     sne        D1
  87. 000000DA  4401                     neg.b      D1
  88. 000000DC  49C1                     lea.l      A4, D1
  89. 000000DE  1001                     move.b     D0, D1
  90. 000000E0  4E75                     rts
  91. 000000E2  4A2F 000A                tst.b      [A7 + 0xA]
  92. 000000E6  670C                     beq        +0xE /* 000000F4 */
  93. 000000E8  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  94. 000000EC  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  95. 000000F0  A939                     syscall    EnableItem
  96. 000000F2  600A                     bra        +0xC /* 000000FE */
  97. label000000F4:
  98. 000000F4  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  99. 000000F8  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  100. 000000FC  A93A                     syscall    DisableItem
  101. label000000FE:
  102. 000000FE  7000                     moveq.l    D0, 0x00
  103. 00000100  4E75                     rts
  104. 00000102  554F                     subq.w     A7, 2
  105. 00000104  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  106. 00000108  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  107. 0000010C  486F 0006                pea.l      [A7 + 0x6]
  108. 00000110  A943                     syscall    GetItmMark
  109. 00000112  4A57                     tst.w      [A7]
  110. 00000114  56C0                     sne        D0
  111. 00000116  4400                     neg.b      D0
  112. 00000118  49C0                     lea.l      A4, D0
  113. 0000011A  544F                     addq.w     A7, 2
  114. 0000011C  4E75                     rts
  115. 0000011E  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  116. 00000122  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  117. 00000126  1F2F 0010                move.b     -[A7], [A7 + 0x10]
  118. 0000012A  A945                     syscall    CheckItem
  119. 0000012C  7000                     moveq.l    D0, 0x00
  120. 0000012E  4E75                     rts
  121. 00000130  0000 0000                ori.b      D0, 0x0
  122. 00000134  0000 0000                ori.b      D0, 0x0
  123. 00000138  0000 0000                ori.b      D0, 0x0
  124.